<p>
  <b>Uname:</b>
  <%=h @user.uname %>
</p>

<p>
  <b>Passwd:</b>
  <%=h @user.passwd %>
</p>

<p>
  <b>Email:</b>
  <%=h @user.email %>
</p>

<p>
  <b>Utype:</b>
  <%=h @user.utype %>
</p>

<% if current_user.privilege == 3 %>
<%= link_to 'Edit', edit_user_path(@user) %> |
<% end %>

<% if current_user.privilege > 1 %>
<b><%= link_to 'List All Users', users_path %></b>
<% end %>

<hr>
<div>
我的专辑<br/>
<div id="users-albums">
</div>
<script type="text/javascript">
<%= remote_function :url => "/albums/list/1?uid=#{current_user.id}",
    :method => "get", :update => "users-albums" %>
</script>
</div>

<div>
<hr>
我的评论<br/><br/>
</div>
